Imports System.ComponentModel
Imports System.Globalization
Imports System.Reflection
Imports System.Resources

Friend Module MvcResources

    Private resourceCulture As CultureInfo
    Private resourceMan As ResourceManager

    <EditorBrowsable(EditorBrowsableState.Advanced)> _
    Friend Property Culture2() As CultureInfo
        Get
            Return resourceCulture
        End Get
        Set(ByVal value As CultureInfo)
            resourceCulture = value
        End Set
    End Property

    <EditorBrowsable(EditorBrowsableState.Advanced)> _
    Friend ReadOnly Property ResourceManager() As ResourceManager
        Get
            If Object.ReferenceEquals(resourceMan, Nothing) Then
                Dim mvcAssembly As Assembly = Assembly.Load("System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")
                Dim manager As New ResourceManager("System.Web.Mvc.Resources.MvcResources", mvcAssembly)
                resourceMan = manager
            End If
            Return resourceMan
        End Get
    End Property

    Friend ReadOnly Property Common_NullOrEmpty() As String
        Get
            Return ResourceManager.GetString("Common_NullOrEmpty", resourceCulture)
        End Get
    End Property

    Friend ReadOnly Property HtmlHelper_MissingSelectData() As String
        Get
            Return ResourceManager.GetString("HtmlHelper_MissingSelectData", resourceCulture)
        End Get
    End Property

    Friend ReadOnly Property HtmlHelper_WrongSelectDataType() As String
        Get
            Return ResourceManager.GetString("HtmlHelper_WrongSelectDataType", resourceCulture)
        End Get
    End Property
End Module
